package common;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

public interface IAuctionServer extends Remote {
	public void placeItemForBid(String ownerName, String itemName, String itemDesc, double startBid, int auctionTime) 
			throws RemoteException;
	         
	public void bidOnItem(String bidderName, String itemName, double bid) throws RemoteException;
	         
	public List<Item> getItems() throws RemoteException;
	         
	public void registerListener(IAuctionListener al, String itemName) 
	           throws RemoteException;
}
